
import { _decorator, Component, Node, game, Vec3 } from 'cc';
import { BundlesConst, EntityConst } from '../ccc3-framework-core/const/Const';
import cameraManager from '../ccc3-framework-core/framework/extends/cameraManager';
import { audioManager } from '../ccc3-framework-core/framework/modules/audioManager';
import { BaseObject } from '../ccc3-framework-core/framework/modules/baseObject';
import dataUtil from '../ccc3-framework-core/framework/modules/dataUtil';
import { entityUtil } from '../ccc3-framework-core/framework/modules/entityUtil';
import eventUtil from '../ccc3-framework-core/framework/modules/eventUtil';
import { framingLoadingUtil } from '../ccc3-framework-core/framework/modules/framingLoadingUtil';
import { memoryConfig } from '../ccc3-framework-core/framework/modules/memoryConfig';
import { resourceUtil } from '../ccc3-framework-core/framework/modules/resourceUtil';
import { uiManager } from '../ccc3-framework-core/framework/modules/uiManager';
import { gameState } from '../ccc3-framework-core/gameState';
import { dropMoneyModel } from '../ccc3-framework-core/model/dropMoneyModel';
import { platformUtil } from '../ccc3-framework-core/platform/platformUtil';
import Common from '../ccc3-framework-core/utils/Common';
import { Debug } from '../ccc3-framework-core/utils/Debug';
import { BundlesDefine, entityDefine, eventDefine, formDefine, guideStep, pathDefine } from './CustomDefine';

import { fingerUtil } from './fingerUtil';
const { ccclass, property } = _decorator;

/**
 * Predefined variables
 * Name = mainControl
 * DateTime = Fri May 06 2022 15:03:17 GMT+0800 (中国标准时间)
 * Author = laozhou
 * FileBasename = mainControl.ts
 * FileBasenameNoExtension = mainControl
 * URL = db://assets/scene/mainControl.ts
 * ManualUrl = https://docs.cocos.com/creator/3.4/manual/zh/
 *
 */

@ccclass('mainScene')
export class mainScene extends BaseObject {

    start() {
        Debug.log('mainScene start');
    }

    onEnable() {
        uiManager.pushUIForm(pathDefine.formDir + formDefine.homeForm, null, BundlesDefine.main);
    }

    onDisable() {

    }
}

/**
 * [1] Class member could be defined like this.
 * [2] Use `property` decorator if your want the member to be serializable.
 * [3] Your initialization goes here.
 * [4] Your update function goes here.
 *
 * Learn more about scripting: https://docs.cocos.com/creator/3.4/manual/zh/scripting/
 * Learn more about CCClass: https://docs.cocos.com/creator/3.4/manual/zh/scripting/decorator.html
 * Learn more about life-cycle callbacks: https://docs.cocos.com/creator/3.4/manual/zh/scripting/life-cycle-callbacks.html
 */
